package com.cai.kcsj.mapper;

import com.cai.kcsj.entity.User;
import org.apache.ibatis.annotations.Param;
import org.omg.PortableInterceptor.Interceptor;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/4 19 : 13
 * @package：com.cai.kcsj.mapper
 */
public interface UserMapper {
    List<User> selectAllUser();
    User selectUserById(@Param("id") Integer id);
    void updateUser(@Param("user") User user);
}
